<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Standalone Usage</title>
<link rel="stylesheet" href="../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="Math Toolkit 3.3.0">
<link rel="up" href="../overview.html" title="Chapter 1. Overview">
<link rel="prev" href="namespaces.html" title="Namespaces">
<link rel="next" href="result_type.html" title="Calculation of the Type of the Result">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="namespaces.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="result_type.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="math_toolkit.standalone"></a><a class="link" href="standalone.html" title="Standalone Usage">Standalone Usage</a>
</h2></div></div></div>
<p>
      This library is able to be used completely standalone - which is to say without
      any of the rest of the Boost libraries present on your system. In order to
      do this you must either:
    </p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
          Be using a compiler which supports <code class="computeroutput"><span class="identifier">__has_include</span><span class="special">()</span></code> in which case the presence or absence
          of the other Boost libraries is determined automatically, and/or:
        </li>
<li class="listitem">
          Define <code class="computeroutput"><span class="identifier">BOOST_MATH_STANDALONE</span></code>
          on the compiler command line. This will force the library into standalone
          mode even when other Boost headers are present.
        </li>
</ul></div>
<p>
      Note that once the library is in standalone mode, you must have a conforming
      C++11 compiler as no allowances will be made for possible compiler defects
      which would otherwise be detected by Boost.Config. In addition, if you use
      a section of the library which makes (possibly optionsal) use of features from
      later C++ standards, then support for that later standard version becomes pretty
      much mandatory. In other words, if you hit issues, try upping your compiler's
      conformance level to C++17 if you can.
    </p>
<p>
      Latest tarballs of this library can be obtained from:
    </p>
<p>
      Latest <a href="https://github.com/boostorg/math/releases" target="_top">official releases</a>
      (including full Boost releases).
    </p>
<p>
      <a href="https://github.com/boostorg/math/archive/refs/heads/master.zip" target="_top">Latest
      stable code</a> (master branch).
    </p>
<p>
      <a href="https://github.com/boostorg/math/archive/refs/heads/develop.zip" target="_top">Latest
      bleeding edge code</a> (develop branch).
    </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2006-2021 Nikhar Agrawal, Anton Bikineev, Matthew Borland,
      Paul A. Bristow, Marco Guazzone, Christopher Kormanyos, Hubert Holin, Bruno
      Lalande, John Maddock, Evan Miller, Jeremy Murphy, Matthew Pulver, Johan Råde,
      Gautam Sewani, Benjamin Sobotta, Nicholas Thompson, Thijs van den Berg, Daryle
      Walker and Xiaogang Zhang<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="namespaces.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="result_type.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
